package cn.mesmile.workflow.process.wrapper;

import cn.mesmile.workflow.process.vo.SendProcessVO;
import cn.mesmile.workflow.support.BaseEntityWrapper;
import org.flowable.engine.history.HistoricProcessInstance;

/**
 * @author zb
 * @Description
 */
public class SendProcessWrapper extends BaseEntityWrapper<HistoricProcessInstance, SendProcessVO> {

    public static SendProcessWrapper build() {
        return new SendProcessWrapper();
    }


    @Override
    public SendProcessVO entityVO(HistoricProcessInstance entity) {
        SendProcessVO sendProcessVO = new SendProcessVO(entity);

        return sendProcessVO;
    }
}
